using System;

namespace SharpObjects.Multithreading
{
    public interface ISyncLock : IDisposable
    {
        void Acquire();
        [Obsolete("Use; Acquire(TimeSpan) instead")]
        void Acquire(int timeoutMsec);
        void Acquire(TimeSpan timeout);
        void Release();
    }

}
